<div class='standard_form'><h1>Sample Edit Form</h1>
<form class='standard_form' method='post' action='sample_control.php?action=edit&record_id={$sample->vars.ROWID->get_value()}'>
	{$sample->vars.ROWID->form()}
	{$sample->vars.f_name->form()}<br />
	{$sample->vars.l_name->form()}<br />
<input class="submit" type="submit" value="Update Record">
<input class="reset" type="reset" value="Reset Record">
<input type="hidden" name="form_action" value="update">
</form>
<form class='standard_form' action="sample_control.php?action=display_one&record_id={$sample->vars.ROWID->get_value()}" method=post>
	<input class='cancel' type='submit' value='Cancel'>
</form>
</div>